
using ThingsGateway.Foundation.Rpc.WebApi;

namespace ThingsGateway.Foundation.Rpc.JsonRpc
{
    /// <summary>
    /// IJsonRpcCallContext
    /// </summary>
    public interface IJsonRpcCallContext : IHttpCallContext
    {
        /// <summary>
        /// Json字符串
        /// </summary>
        public string JsonString { get; }

        /// <summary>
        /// JsonRpc数据包
        /// </summary>
        public JsonRpcContext JsonRpcContext { get; }

        /// <summary>
        /// 表明当前的调用协议。
        /// </summary>
        JRPT JRPT { get; }
    }
}